<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                template="./templates/template_general.xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:p="http://primefaces.org/ui"
                xmlns="http://www.w3.org/1999/xhtml">
    

    <ui:define name="title">
        Connexion
    </ui:define>

    <ui:define name="content">
        <div class="column4">
            <div class="title" style="float:left;">
                <div style="float:left;">Inscription</div>
            </div>
            <div class="offer_box_wide_style2">
                <h:form>
                    <p:messages showDetail="true" id="connexion" globalOnly="true" autoUpdate="false"/>
                    <h:panelGrid columns="2" style="width:100%">
                        <h:outputLabel value="Login :" for="login"/>
                        <h:inputText id="login" value="#{login}" title="login"/>
                        <h:outputLabel value="Mot de passe :" for="motDePasse"/>
                        <h:inputSecret id="motDePasse" value="#{mdp}" title="motDePasse"/>
                    </h:panelGrid>
                    <h:panelGrid columns="1" style="width:100%">
                        <h:commandButton id="connecter" value="Se connecter" action="#{utilisateurMBean.connecter(login, mdp)}"/>
                    </h:panelGrid>
                   
                </h:form>
            </div>
        </div>
    </ui:define>

</ui:composition>
